package com.joymart.aftersale.model;

import com.joymart.common.abstraction.StatusHolder;
import com.joymart.common.model.ApprovalStatus;
import com.joymart.order.model.Order;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 售后单
 */
@Data
public class AfterSaleSheet implements StatusHolder<ApprovalStatus> {

    @Id
    private String id;
    private String orderId;
    private ApprovalStatus status;
    private String imageUrl0;
    private String imageUrl1;
    private String imageUrl2;
    private String imageUrl3;
    private String imageUrl4;
    private String imageUrl5;

    private String buyerId;
    private String firstSellerId;
    private String secondSellerId;

    // 经营店铺已退款给买家
    private boolean firstSellerRefunded;
    // 管理店铺已退款给经营店铺
    private boolean secondSellerRefunded;
    // 总部收到退货并退款给经营店铺
    private boolean headQuarterRefunded;
    private String remarkBySeller;
    private String remarkByBuyer;
    private LocalDateTime createdAt;


}
